using System;
using System.Collections.Generic;
using System.Text;
using System.Net.Mail;

namespace Persistance.BLL
{
    public class MailManagement
    {
        MailMessage message;
        public MailManagement(string from, string to, string subject, string body)
        {
            message = new MailMessage(from, to, subject, body);
        }

        public void send()
        {
            SmtpClient client = new SmtpClient("mail.rim.net");
            client.Send(message);
        }
    }
}
